function r = ledta( m, dta ) %return indices of elements that less than delta
    r = [];
    for i = 1:length(m)
        if abs(m(i)) <= dta
            r = [r i];
        end
    end
end

